#include "stdafx.h"

#pragma comment(lib,"gdiplus")

//#include "Game.h"

using namespace Gdiplus;

struct InitGdip
{
	InitGdip()
	{
		GdiplusStartupInput gsi;
		ULONG_PTR token;
		GdiplusStartup(&token, &gsi, NULL);
	}
} init_gdip;

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR cmdline, int show)
{
	Game::sethInstance(hInstance);

	Game * game = Game::getInstance();

	return game->loop();
}